package com.ruoyi.system.service.standard.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.standard.StandardSystemDataMapper;
import com.ruoyi.system.domain.standard_relevant.StandardSystemData;
import com.ruoyi.system.service.standard.IStandardSystemDataService;

/**
 * 分析过程数据Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-08-29
 */
@Service
public class StandardSystemDataServiceImpl implements IStandardSystemDataService 
{
    @Autowired
    private StandardSystemDataMapper standardSystemDataMapper;

    /***
     * 批量插入
     */
    @Override
    public int batchInsertStandardSystemData(List<StandardSystemData> allToUpload)
    {
        return standardSystemDataMapper.batchInsertStandardSystemData(allToUpload);
    }
    /**
     * 批量更新
     */
    @Override
    public int batchUpdateStandardSystemData(List<StandardSystemData> allToUpload)
    {
        return standardSystemDataMapper.batchUpdateStandardSystemData(allToUpload);
    }

    /**
     * 查 indicatorID:name by standardCode
     */
    @Override
    public List<StandardSystemData> selectSystemDataByCode(String standardCode){
        return standardSystemDataMapper.selectSystemDataByCode(standardCode);
    }
}
